package com.zhiyun.mapper;

import com.zhiyun.domain.CourseComment;

import java.util.List;

public interface CourseCommentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CourseComment record);

    CourseComment selectByPrimaryKey(Integer id);

    int updateByPrimaryKey(CourseComment record);

    List<CourseComment> findByCourseId(int courseId);
}